home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / Xm / XmTextReplaceWcs.z / XmTextReplaceWcs
Encoding:
Text File  |  2002-10-03  |  5.1 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmTTTTeeeexxxxttttRRRReeeeppppllllaaaacccceeeeWWWWccccssss((((3333XXXX))))      UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV      XXXXmmmmTTTTeeeexxxxttttRRRReeeeppppllllaaaacccceeeeWWWWccccssss((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmTTTTeeeexxxxttttRRRReeeeppppllllaaaacccceeeeWWWWccccssss - A Text function that replaces part of a
  10.           wide character string in a Text widget
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           #include <Xm/Text.h>
  14.           vvvvooooiiiidddd XXXXmmmmTTTTeeeexxxxttttRRRReeeeppppllllaaaacccceeeeWWWWccccssss(
  15.           WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
  16.           XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn ffffrrrroooommmm____ppppoooossss,
  17.           XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn ttttoooo____ppppoooossss,
  18.           wwwwcccchhhhaaaarrrr____tttt ****wwwwccccssssttttrrrriiiinnnngggg);
  19.  
  20.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  21.           This page documents Motif 2.1.
  22.  
  23.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  24.           XXXXmmmmTTTTeeeexxxxttttRRRReeeeppppllllaaaacccceeeeWWWWccccssss replaces part of the wide character string
  25.           in the Text widget. The character positions begin at zero
  26.           and are numbered sequentially from the beginning of the
  27.           text.
  28.  
  29.           An example text replacement would be to replace the second
  30.           and third characters in the text string. To accomplish this,
  31.           the _f_r_o_m__p_o_s parameter must be 1 and the _t_o__p_o_sparameter
  32.           must be 3. To insert a string after the fourth character,
  33.           both the _f_r_o_m__p_o_s and _t_o__p_o_s parameters must be 4.
  34.  
  35.           This routine calls the widget's XXXXmmmmNNNNvvvvaaaalllluuuueeeeCCCChhhhaaaannnnggggeeeeddddCCCCaaaallllllllbbbbaaaacccckkkk and
  36.           verification callbacks, either XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkk or
  37.           XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkkWWWWccccssss, or both. If both verification
  38.           callback lists are registered, the procedures of the
  39.           XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkk list are executed first and the
  40.           resulting data is passed to the XXXXmmmmNNNNmmmmooooddddiiiiffffyyyyVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkkWWWWccccssss
  41.           callbacks.  This routine calls the widget's
  42.           XXXXmmmmNNNNmmmmoooottttiiiioooonnnnVVVVeeeerrrriiiiffffyyyyCCCCaaaallllllllbbbbaaaacccckkkk callback when _f_r_o_m__p_o_s is less than
  43.           or equal to the cursor position.
  44.  
  45.           _w_i_d_g_e_t    Specifies the Text widget ID
  46.  
  47.           _f_r_o_m__p_o_s  Specifies the start position of the text to be
  48.                     replaced
  49.  
  50.           _t_o__p_o_s    Specifies the end position of the text to be
  51.                     replaced
  52.  
  53.           _w_c_s_t_r_i_n_g  Specifies the wide character string value to be
  54.                     added to the Text widget
  55.  
  56.           For a complete definition of Text and its associated
  57.           resources, see XXXXmmmmTTTTeeeexxxxtttt(3).
  58.  
  59.      RRRREEEELLLLAAAATTTTEEEEDDDD
  60.  
  61.  
  62.  
  63.      PPPPaaaaggggeeee 1111                                          ((((pppprrrriiiinnnntttteeeedddd 11110000////3333////00002222))))
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmTTTTeeeexxxxttttRRRReeeeppppllllaaaacccceeeeWWWWccccssss((((3333XXXX))))      UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV      XXXXmmmmTTTTeeeexxxxttttRRRReeeeppppllllaaaacccceeeeWWWWccccssss((((3333XXXX))))
  71.  
  72.  
  73.  
  74.           XXXXmmmmTTTTeeeexxxxtttt(3) and XXXXmmmmTTTTeeeexxxxttttRRRReeeeppppllllaaaacccceeee(3).
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 10/3/02)
  130.  
  131.  
  132.  
  133.